App.Api.factory('Api.Getmems', [function () {
			/**
* Pobiera listę zbiorów notatek użytkownika
* @class getmems
*/
function getmems(){
	/**
	* getmems
	* @property oper
	* @private 
	*/
	var oper = 'getmems',

	/**
	*  właściciel
	* @property user 
	* @private 
	*/
	user ,

	/**
	*  hasło tego użytkownika Zwraca: JSON: ["id1 "," id2 ",...,"idn "] JavaScript: var note$rez=["id1 "," id2 ",...," idn "] txt: id1,id2,...,id3 <ul><li>id1</li><li>id2</li>...<li>idn</li></ul>
	* @property pass 
	* @private 
	*/
	pass ,

	/**
	*  hasło tego użytkownika Zwraca: JSON: ["id1 "," id2 ",...,"idn "] JavaScript: var note$rez=["id1 "," id2 ",...," idn "] txt: id1,id2,...,id3 <ul><li>id1</li><li>id2</li>...<li>idn</li></ul>
	* @property pass 
	* @private 
	*/
	pass ,
	that = this;


	function getOper(noper){
		return oper;
	}
	function getUser(nuser){
		return user ;
	}
	function getPass(npass){
		return pass ;
	}
	function setUser(nuser){
		user  = nuser ;
	}
	function setPass(npass){
		pass  = npass ;
	}

	function toObject(){
		return{
			oper: oper,
			user : user ,
			pass : pass 
		};
	}

	/**
 	* konstruktor
 	*
   	* @constructor         
  	* @method construct    
  	* @public              
 	*/
	(function getmems(){
		that.getOper = getOper;
		that.getUser = getUser;
		that.getPass = getPass;
		that.setUser = setUser;
		that.setPass = setPass;
		that.toObject = toObject;
	})();
}


getmems.fromObject = function (obj){
		var object = new getmems();
		object.setUser(obj.user);
		object.setPass(obj.pass);
		return object;
	}

			return getmems;
		}]);